import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

app.use(ElementPlus, {
    locale: zhCn,
})
//http://localhost:22794/swagger/index.html
import axios from 'axios'

//阿里云
//axios.defaults.baseURL = 'http://116.62.209.235:8803/api'
axios.defaults.baseURL = 'http://116.62.209.235:5501/api'
// 5501
//本地
//axios.defaults.baseURL = 'http:/ / localhost: 5240 / api'
// 5240  

app.use(createPinia())
app.use(router)
app.provide('axios', axios)

app.mount('#app')
